package legumes.client.services.callbacks;

import java.util.List;

import legumes.client.services.LegumesServicesHelper;
import legumes.client.services.util.rpc.SequencableRPCCall;

public class GetSellSessionIdsCallback extends SequencableRPCCall<List<Long>> {

	private List<Long> sellSessionIds;

	@Override
	protected void doCall() {
		LegumesServicesHelper.LEGUMES_SERVICES.getSellSessionsDate(this);
	}

	public void onSuccess(List<Long> dates_) {
		sellSessionIds = dates_;
		callNext();
	}

	public List<Long> getSellSessionIds() {
		return sellSessionIds;
	}
}